package com.mydistibute.distibutelearn.threadsummary;

/**
 * @author victorydeng
 * @Classname MyDemo
 * @Description TODO
 * @Date 2020/5/29 15:06
 * @Created by victorydeng
 */
public class MyDemo implements Runnable {
    int i = 0;
    @Override
    public void run() {
        i++;
        System.out.println("+=="+i);
    }

    public static void main(String[] args) {
        for (int i=0; i< 5; i++) {
             new Thread(new MyDemo()).start();
        }
    }
}
